package com.cyj.crm02.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyj.crm02.entity.Employee;


public interface EmployeeService extends IService<Employee> {
    Employee selectByEmployeeName(String employeeName);

    IPage<Employee> selectEmployeeList(Page<Employee> page);

    Integer addEmployee(Employee employee, Integer roleId);

    Integer update(Employee employee, Integer roleId);
}
